// 引用网络请求中间件
import request from '../../utils/request.js';


export default {
	doctorAuthApply(data) {
		return request({
			url: `/employee/register`,
			method: 'POST',
			data
		})
	},

	setPrice(data) {
		return request({
			url: `/employee/consultationPrice?consultationPrice=${data}`,
			method: 'put',
		})
	},

	/* 获取科室 */
	getDepartment() {
		return request({
			url: `/employee/getDepartment`,
			method: 'GET',
		})
	},

	/* 获取医院 */
	getCompartmentName() {
		return request({
			url: `/employee/getCompartmentName`,
			method: 'GET',
		})
	},

	/* 医生认证 */
	doctorAuth() {
		return request({
			url: `/employee/register/info`,
			method: 'GET',
		})
	},

}